﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CreditCardApp
{
    public class FrequentFlyerNumberValidatorService : IFrequentFlyerNumberValidator
    {
        public bool IsValid(string frequentFlyerNumber)
        {
            throw new NotImplementedException("simulate this real dependency being hard to use");
        }

        public void IsValid(string frequentFlyerNumber, out bool isValid)
        {
            throw new NotImplementedException("simulate this real dependency being hard to use");
        }

        //public string LicenseKey
        //{
        //    get
        //    {
        //        throw new NotImplementedException("for demo purpose");
        //    }
        //}


        public IServiceInformation ServiceInformation => throw new NotImplementedException();


        public ValidationMode ValidationMode
        {
            get => throw new NotImplementedException("for demo purpose");
            set => throw new NotImplementedException("for demo purpose");
        }

        public event EventHandler ValidatorLookupPerformed;
    }
}
